<!--<?php
  session_start();
  if(!$_SESSION)
  {
    ?> 
     <script type="text/javascript">
     alert("Identifiquese"); 
     window.location="../Index.php";
     </script>
    <?php
 
  }
  


 ?> -->
<!DOCTYPE html>
<html>
  <head>
    <title>Usuarios</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
    <script type="text/javascript" src="js/bootstrap-tab.js"></script>
    <script type="text/javascript" src="http://twitter.github.com/bootstrap/assets/js/bootstrap-tab.js"></script>
  </head>
  <body>
        <script src="http://code.jquery.com/jquery.js"></script>
        <script src="js/bootstrap.min.js"></script>
        
          <nav class="navbar-wrapper navbar-default navbar-fixed-top" role="navigation">
            <div class="collapse navbar-collapse navbar-ex1-collapse">
              <div class="collapse navbar-collapse">
                <ul class="nav navbar-nav">
                   <li><a href="ViewHome.php"><span class="glyphicon glyphicon-home"></span> Inicio</a></li>

                  <li><a href="ViewCarreras.php"><span class="glyphicon glyphicon-lock"></span> Carreras</a></li>

                  
                  <li class="dropdown">
                    <a href="ViewPerfiles.php" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-list-alt"></span> Perfiles</a>
                   <ul class="dropdown-menu" >
                    <li><a href="View_PA.php"><span class="glyphicon glyphicon-bookmark"></span> Perfil Acad&eacute;mico</a></li>
                    <li><a href="View_C.php"><span class="glyphicon glyphicon-book"></span> Perfil Curso</a></li>
                    <li><a href="#presupuesto"><span class="glyphicon glyphicon-briefcase"></span> Perfil Presupuestarios</a></li> 
                  </ul>
                  </li>

                  <li class="active"><a href="ViewUsuarios.php"><span class="glyphicon glyphicon-user"></span> Usuarios</a></li>

                  <li><a href=""><span class="glyphicon glyphicon-calendar"></span> Horarios</a></li>

                  <li><a href=""><span class="glyphicon glyphicon-comment"></span> Reportes</a></li>

                  <ul class="nav navbar-nav navbar-right">
                    <li class="dropdown">
                      <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-asterisk"></span>
                      <ul class="dropdown-menu">
                        <li><a href="cerrarSesion.php">Salir</a></li>
                      </ul>
                    </li>
                  </ul>
            </div>
          </nav>
          <!--
          Se usa la de abajo para meter todo los forms.
          !-->
          <div class="container-fluid">
            <div class="jumbotron">
               <center>
          <h3><p class="text-info">Aqui puede registrar usuarios para el sistema.</p></h3>
          <div class="input-group">
    
            <form action='ControlUsuarios.php' method='POST' class="form-inline"> 
              <input type='text' name='V_cedula'  class="form-control" id="focusedInput" placeholder="C&eacute;dula" /> 
              <br>
              
              <input type='password' name='V_contrasena' class="form-control" placeholder="Contrase&ntilde;a" /> 
              
              <p><b>Tipo:</b>
              <select class="form-control" name='V_tipo' placeholder="Tipo">
                <option>Usuario</option>
                <option>Administrador</option>
              </select>
              <br>
              <br>
              <input type='submit' value='Agregar' class="btn btn-primary" /><input  type='hidden' value='1' name='Us_Crear' /> 
            </form> 
            <form action='View_Us_Buscar.php'>
              <span class="glyphicon glyphicon-search"></span>
              <input type='submit' value='Buscar lista de usuarios'  class='btn btn-info'>
            </form> 

          </div>
          </center>
            </div>
          </div> 
 

          <footer>
            <div class="container">
              <div class="row">
                <div class="col-md-10">&copy; 2013 | Universidad Nacional | Sede Regional Chrotega | Campus Nicoya</div>
               
              </div>
            </div>
          </footer>
      
  
  
  </body>
</html>